#-*- coding: utf-8 -*-

from ConfigParser import ConfigParser


class MainConfig(ConfigParser):
    def get_module_options(self,name):
        if self.has_section(name):
            options = {}
            for option in self.options(name):
                options[option] = self.get(name,option)
            return options
        else:
            return {}
